package com.songji.songaicodemother.controller;

import com.songji.songaicodemother.common.BaseResponse;
import com.songji.songaicodemother.common.ResultUtils;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 *@Author: 40斤
 *@CreateTime: 2025-10-30  16:28
 *@Description: TODO
 *@Version: 1.0
 */
@RestController
@RequestMapping("/health")
public class HealthController {

    @GetMapping("/")
    public BaseResponse<String> healthCheck() {
        return ResultUtils.success( "ok");
    }
}

